package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("任务详情VO")
public class TaskInfoVO {

    @ApiModelProperty(value = "任务详情ID", example = "1")
    private Long taskDetailId;
    
    @ApiModelProperty(value = "执行顺序", example = "1")
    private Integer executionOrder;
    
    @ApiModelProperty(value = "应用名称/数据包名", example = "航空咨询")
    private String applicationName;
    
    @ApiModelProperty(value = "任务类型", example = "1=安装包 2=数据包")
    private Integer taskType;
    
    @ApiModelProperty(value = "版本号", example = "v1.4.2")
    private String packageVersionnumber;
    
    @ApiModelProperty(value = "进度百分比", example = "100")
    private Integer progressPercentage;
    
    @ApiModelProperty(value = "进度详情", example = "30/80")
    private String progressDetail;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    
    @ApiModelProperty(value = "失败数量", example = "1")
    private Integer failureCount;
    
    @ApiModelProperty(value = "状态", example = "已完成")
    private Integer status;
    

}